/**
 *  定义数据模型
 * @type {*|Mongoose}
 */
// import mongoose from 'mongoose'
const mongoose = require('mongoose')

let personSchema = new mongoose.Schema({
    name: String,
    age: Number
})

module.exports = mongoose.model('Person', personSchema)